import java.util.Scanner;

class Animal{
    String name;
    int age;

    public Animal(String name){
        this.name = name;
    }
}
interface Run{
    void run();
}
interface Fly{
    void fly();
}
interface Swim{
    void swim();
}
class Dark extends Animal implements Run,Fly{
    public Dark(String name){
        super(name);
    }

    @Override
    public void run() {
        System.out.println(name + "在奔跑");
    }

    @Override
    public void fly() {
        System.out.println(name + "在飞翔");
    }
}
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String Name = scanner.next();
        Dark dark = new Dark(Name);
        dark.run();
        dark.fly();
    }
}


